package com.chengxiaoxiao.libarypartner.domain;

import java.io.Serializable;

/**
 * @author XiaoXiao
 * @version $Rev$
 */
//    [{
//    "address": "综合楼101",
//            "author": "冰心",
//            "bookName": "冰心儿童文学全集诗歌小说卷",
//            "categoryName": "文学评论",
//            "id": 12,
//            "imagesPath": "http://img3m1.ddimg.cn/39/14/25227021-1_l_6.jpg",
//            "number": 4
//}]
public class Books implements Serializable
{

    private long id;
    private String  bookName;
    private String author;
    private String categoryName;
    private String imagesPath;
    private long number;
    private String address;
    private String publisherName;

    public String getPublisherName()
    {
        return publisherName;
    }

    public void setPublisherName(String publisherName)
    {
        this.publisherName = publisherName;
    }

    public Books()
    {
    }

    public Books(long id, String bookName, String author, String categoryName, String imagesPath, long number, String address, String publisherName)
    {
        this.id = id;
        this.bookName = bookName;
        this.author = author;
        this.categoryName = categoryName;
        this.imagesPath = imagesPath;
        this.number = number;
        this.address = address;
        this.publisherName = publisherName;
    }

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getBookName()
    {
        return bookName;
    }

    public void setBookName(String bookName)
    {
        this.bookName = bookName;
    }

    public String getAuthor()
    {
        return author;
    }

    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getCategoryName()
    {
        return categoryName;
    }

    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getImagesPath()
    {
        return imagesPath;
    }

    public void setImagesPath(String imagesPath)
    {
        this.imagesPath = imagesPath;
    }

    public long getNumber()
    {
        return number;
    }

    public void setNumber(long number)
    {
        this.number = number;
    }

    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }
}
